// Implements the GaussianBlur OpenCV effect.
#include "../include/Gaussian.h"

// Class constructor. Receives the needed values for the GaussianBlur effect.
Gaussian::Gaussian(double size, double x, double y, int border) : sigmaX(x), sigmaY(y), kSize(Size(size,size)), borderType(border) {
}


// Class destructor.
Gaussian::~Gaussian(void) {}


// Returns the given picture after gaussian blur.
void Gaussian::processEffect(Mat& src, Mat& dst) {
	GaussianBlur(src, dst, kSize, sigmaX, sigmaY, borderType);
}
